package com.carrot.newsgallery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("user_endorse_comment")
public class EndorseComment {
    @ApiModelProperty("自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private long endorseId;

    @ApiModelProperty("该赞同的发布人")
    private int posterId;
    @ApiModelProperty("该赞同所指向的评论id")
    private int commentId;
}
